<template>
    <div class="app">
        <!-- <iframe :src="Url" width="100%" height="775px" ></iframe> -->
        <a target="_blank"></a>
    </div>
</template>
<script>
import { getreportindex } from "@/api/archive/fileCollection/offlinReception.js";




export default {
    data() {
        return {
            Url: ""
        }
    },
    created() {
        this.getreportindexPOST();
    },
    methods: {
        getreportindexPOST() {
            getreportindex().then(res => {
                //支持低版本的浏览器
                var link = document.createElement('a');
                link.href = res.msg;
                link.target = '_blank';
                link.click();
                //window.open(res.msg);

            })

        },

    }
}
</script>
<style lang="scss" scoped></style>